import { hiprint } from "vue-plugin-hiprint";

export const provider1 = function (options) {
  //console.log(options);
  var addElementTypes = function (context) {
    context.removePrintElementTypes("providerModule1");
    context.addPrintElementTypes("providerModule1", [
      new hiprint.PrintElementTypeGroup("常规", [
            options.config, {
              tid: "providerModule1.header",
              title: "单据表头",
              data: "单据表头",
              type: "text",
              options: {
                testData: "单据表头",
                height: 17,
                fontSize: 16.5,
                fontWeight: "700",
                textAlign: "center",
                hideTitle: true
              },
            },
      ])
    ])
  };
  return {
    addElementTypes: addElementTypes,
  };
};
